package com.school.dao;

public class TestSubject {

	public static void main(String[] args) {
		// 课程测试
		SubjectDao sd = new SubjectDao();
		// System.out.println(sd.add(new Subject("mybatis5", 20, 3)) + "条增加成功！");
		// System.out.println(sd.update(new Subject(57, "mybatis-1", 10, 3)) +
		// "条更新成功！");
		// System.out.println(sd.del(59) + "条删除成功！");
		System.out.println(sd.search().toString());
		// System.out.println(sd.search(2, 5).toString());
		// System.out.println(sd.get(57).toString());

	}

}
